package org.simple.framework.data.annotation;

import org.simple.framework.data.query.Direction;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 项目名称：simple-framework
 * 类名称：OrderProperty
 * 类描述：OrderProperty
 * 创建时间：2018/9/6
 *
 * @author sisyphus   (E-mail:1620657419@qq.com)
 * @version v1.0
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface OrderProperty {

    String column();

    Direction direction() default Direction.DESC;

}
